import java.util.Scanner;

public class Hua {
	public static void main (String[] args) {
		Scanner sc=new Scanner(System.in);
		System.out.println("CPU");//359
		int num1=sc.nextInt();
		System.out.println("内存");//90
		int num2=sc.nextInt();
		System.out.println("硬盘");//325
		int num3=sc.nextInt();
		System.out.println("主板");//499
		int num4=sc.nextInt();
		System.out.println("显示器");//870
		int num5=sc.nextInt();
		System.out.println("机箱电源");//179
		int num6=sc.nextInt();
		System.out.println("键盘套装");//56
		int num7=sc.nextInt();
		System.out.println("音箱");//120
		int num8=sc.nextInt();
		int num9=num1+num2*2+num3+num4+num5+num6+num7+num8;
		boolean ZongQian=num9>3000;
		System.out.println("是否超过三千元："+ZongQian);
	}
}
